package cn.dubito.o2o.service.impl;

import cn.dubito.o2o.dao.AreaDao;
import cn.dubito.o2o.domian.entity.Area;
import cn.dubito.o2o.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liliang
 * @description: 区域接口实现
 * @date 2018/4/17.
 */
@Service
public class AreaServiceImpl implements AreaService {

    @Autowired
    private AreaDao areaDao;

    @Override
    public List<Area> queryAreaList() {
        return areaDao.queryAreaList();
    }
}
